package com.xiaomei.manager.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiaomei.manager.dao.PositionMapper;
import com.xiaomei.manager.model.Position;
import com.xiaomei.manager.service.IPositionService;
@Service
public class IPositionServiceImpl implements IPositionService {
	@Autowired
	private PositionMapper PositionMapper;
	
	@Override
	public List<Position> selectAll() {
		// TODO Auto-generated method stub
		return PositionMapper.selectAll();
	}

	@Override
	public int insertSelective(Position record) {
		// TODO Auto-generated method stub
		return PositionMapper.insertSelective(record);
	}

}
